/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package GUIalmacen;

import BE.BENodo;
import BE.BEPallet;
import BE.BEPallet;
import BE.BEPosicionxRack;
import BL.BLPallet;
import java.util.ArrayList;
import java.util.List;
import javax.swing.JButton;


/**
 *
 * @author Cristian
 */
public class MiBotonPallet extends JButton{
private BEPosicionxRack posicion= new BEPosicionxRack();
private BEPallet objPallet = new BEPallet();

    public MiBotonPallet() {
    }

public MiBotonPallet(BEPosicionxRack posicion,BEPallet objPallet ) {
         super();
         this.posicion=posicion;

         this.objPallet=objPallet;
         BLPallet blpallet=new BLPallet();
         if (objPallet!=null){
                 
                // if (objPallet.getProducto()!=null)
                //System.out.println(objPallet.getProducto().getNombre());
         
         
         }
         else
             objPallet=null;

    }


 
    public BEPallet getObjPallet() {
        return objPallet;
    }

    public void setObjPallet(BEPallet objPallet) {
        this.objPallet = objPallet;
    }

    public BEPosicionxRack getPosicion() {
        return posicion;
    }

    public void setPosicion(BEPosicionxRack posicion) {
        this.posicion = posicion;
    }


}
